import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import "babel-polyfill";

// 运行 npm run build时是否使用生产环境
Vue.config.productionTip = true;

Vue.use(ElementUI);

//事件监听处理
Vue.prototype.XCEventHandler = new Vue();
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
